Prizm Content Connect
Initialization Parameters

The following is a list of configurable options when initializing the Viewer plugin:

Parameter

Data Type

Description

annotationID

String

Specifies the annotation file to be used within the Viewer.

For example:

  1. When the annotation is saved, the viewer prompts the user to provide the annotation name (example: myTestAnnotation). 
  2. The annotation file is saved with this naming convention: <documentID>_<annotationName>.xml (example: F7-92-5C-CE-28-BE-AD-6F-79-C3-FE-FF-87-FE-FA-B6-73-7F-F5-92_0_myTestAnnotation.xml). 
  3. When specifying the value for the annotationID, it will be the annotation name that was provided at the time of saving (example: stampAnnotation), not the annotation file name (F7-92-5C-CE-28-BE-AD-6F-79-C3-FE-FF-87-FE-FA-B6-73-7F-F5-92_0_myTestAnnotation.xml).

autoLoadAnnotation

Boolean

If set to True, the specified annotation file will be loaded when the viewer launches resourcePath.

debug

Boolean

If true, viewer logs to the console. If false or no value, viewer will not log to the console.

documentID

String

Specifies the document to be loaded within the Viewer.

encryption

Boolean

Specifies whether content encryption is turned on or off.

imageHandlerUrl

String

Specifies the location of the image handler.

language

Object

An object containing the contents of the language.json file.

predefinedSearch

Object

An object containing all predefined search options. These are defined in the predefinedSearch.json file. See Pre-loaded Search for more information.

resourcePath

String

The location of the images used in the Viewer.

serviceResponseTimeout

Integer

Indicates the response timeout interval, in milliseconds, for all services to the server. Default is 60000.

signatureCategories String

Specifies the categories of eSignature to add to the UI. This is a comma separated string containing the types of signatures that the application expects. When no value is passed in, the UI to select categories will be disabled.

Example: "Full Signature,Initials,Name,Title"

template

Object

An object containing the different templates used in the Viewer.

uiElements

Object

An object containing parameters that toggle UI elements in the viewer. See uiElements for more information.

For additional information, refer to the Namespace: fn API topic.

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback